//加载配置文件
require(["js/config"], function() {
	require(["jquery", "swiper","gotop","cityhover","morehover","blurandfocus","cookie","register-login"], function($, sw,gt,ch,mh,bf,ck,rl) {
		//要执行的代码
        ch.cityhover();
        mh.morehover();
       	bf.blurandfocus();
		var mySwiper = new Swiper('.swiper-container', {
			autoplay: 2000,
			loop: true,
			pagination: '.swiper-pagination',
			paginationType: 'bullets',
			paginationClickable :true,
			prevButton: '.swiper-button-prev',
			nextButton: '.swiper-button-next',
			autoplayDisableOnInteraction : false
		})
		gt.gotop()
		rl.register()
		rl.login()
		
	})
})